package com.y2.authprj.dao.auth;

import java.util.List;


import com.y2.authprj.bean.auth.model.StaffInfo;
import com.y2.authprj.bean.auth.vo.StaffInfoVo;
import com.y2.authprj.bean.auth.vo.UserroleVo;


public interface IStaffDao {
	List<StaffInfo> findAll();
	//郑建飞
	StaffInfo findByStaffNum(String staffNum);
	int updateByStaff(StaffInfo staffInfo);
	List<StaffInfo> showStaff(UserroleVo vo);
	int findByTStaffCount(UserroleVo vo);
	//郑建飞
	
	
	//增加
	public int addSta(StaffInfo sta);
	//修改				
	public int updateSta(StaffInfo sta);
	//删除				
	public int deleteStaById(int id);
	//查询ID
	public StaffInfo StaffInfoById(int id);
	
	//按条件查询用户信息，按用户名模糊匹配查询
	public List<StaffInfo> findByStaff(StaffInfoVo vo);
	
	public int findStaffNum(String staffNum);
			
	public List<StaffInfoVo> findAllVo(StaffInfoVo vo);
	
}
